
package com.zsrt.book.client;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Scanner;

import com.zsrt.book.util.CommonUtil;

public class BookManageTest {

	private static Scanner scanner = new Scanner(System.in);
	
	public static void main(String[] args) throws FileNotFoundException, IOException {
		
		/*//全局信息
		List<BookEntity> books = BookUtil.init();
		List<EmpolyeeEntity> empolyees = EmpolyeeUtil.initEmployee();*/
		
		while(true){
			
			CommonUtil.firstPage();
			int n = scanner.nextInt();
			if(n==1){
				//管理员界面
				CommonUtil.adminLoginPage(scanner);
				
				
			}else if(n==2){
				//用户界面
				
				CommonUtil.userLoginPage(scanner);
				
			}else{
				//退出系统
				System.out.println("退出图书借阅系统");
				break;
			}
		}
		
		
	}
	
	
}
